tap

inline fun <B> tap(f: (A) -> B): Outcome<E, A>(source)

Performs an effect over the value and preserves the original Outcome

"hi".present().tap { println("$it world") } // Present("hi")